package com.xtck.ha.common.domain.system.api;

import com.xtck.ha.common.core.annotation.Excel;
import com.xtck.ha.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 遥测参数分析任务信息对象 TBL_TELEMETRY_TASK_INFO
 * 
 * @author rqc
 * @date 2024-10-15
 */
@ApiModel(description = "遥测参数分析任务信息")
public class TblTelemetryTaskInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("任务ID")
    @Excel(name = "任务ID")
    private Long taskId;

    @ApiModelProperty("任务名称")
    @Excel(name = "任务名称")
    private String taskName;

    @ApiModelProperty("遥测参数的主键")
    @Excel(name = "遥测参数的主键")
    private Long paramId;

    @ApiModelProperty("遥测参数编码")
    @Excel(name = "遥测参数编码")
    private String paramCode;

    @ApiModelProperty("遥测参数名称")
    @Excel(name = "遥测参数名称")
    private String paramName;

    @ApiModelProperty("数据预处理方法配置")
    @Excel(name = "数据预处理方法配置")
    private String prehandleMethod;

    @ApiModelProperty("周期")
    @Excel(name = "周期")
    private Integer period;

    @ApiModelProperty("采样间隔")
    @Excel(name = "采样间隔")
    private Integer sampleInterval;

    @ApiModelProperty("统计分析指数")
    @Excel(name = "统计分析指数")
    private String analysisIndex;

    @ApiModelProperty("任务运行状态，0未开始，1运行中，2运行成功，3运行失败")
    @Excel(name = "任务运行状态，0未开始，1运行中，2运行成功，3运行失败")
    private Integer status;

    @ApiModelProperty("遥测参数文件路径")
    private String filePath;

    @ApiModelProperty("卫星编码")
    private String satCode;

    @ApiModelProperty("0：未删除，1：已删除")
    @Excel(name = "0：未删除，1：已删除")
    private Integer delFlag;

    @ApiModelProperty("采样类型（1：过采样 2：欠采样 3：间歇采样 ）")
    @Excel(name = "采样类型（1：过采样 2：欠采样 3：间歇采样 ）")
    private Integer sampleType;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public Long getParamId() {
        return paramId;
    }

    public void setParamId(Long paramId) {
        this.paramId = paramId;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public void setPrehandleMethod(String prehandleMethod) {
        this.prehandleMethod = prehandleMethod;
    }

    public String getPrehandleMethod()
    {
        return prehandleMethod;
    }
    public void setPeriod(Integer period)
    {
        this.period = period;
    }

    public Integer getPeriod()
    {
        return period;
    }
    public void setSampleInterval(Integer sampleInterval)
    {
        this.sampleInterval = sampleInterval;
    }

    public Integer getSampleInterval()
    {
        return sampleInterval;
    }
    public void setAnalysisIndex(String analysisIndex) 
    {
        this.analysisIndex = analysisIndex;
    }

    public String getAnalysisIndex() 
    {
        return analysisIndex;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }

    public void setSatCode(String satCode) {
		this.satCode = satCode;
	}

    public String getSatCode() {
		return satCode;
	}

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getSampleType() {
        return sampleType;
    }

    public void setSampleType(Integer sampleType) {
        this.sampleType = sampleType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("taskId", getTaskId())
                .append("taskName", getTaskName())
                .append("paramId", getParamId())
                .append("paramCode", getParamCode())
                .append("paramName", getParamName())
                .append("prehandleMethod", getPrehandleMethod())
                .append("period", getPeriod())
                .append("sampleInterval", getSampleInterval())
                .append("analysisIndex", getAnalysisIndex())
                .append("status", getStatus())
                .append("filePath", getFilePath())
                .append("satCode", getSatCode())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("sampleType", getSampleType())
                .toString();
    }
}
